package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 出库管理对象 erp_outbound
 *
 * @author ruoyi
 * @date 2025-03-23
 */
public class ErpOutbound extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 出库编号 */
    @Excel(name = "出库编号")
    private String outboundId;

    /** 入库编号 */
    @Excel(name = "入库编号")
    private String warehousing;

    /** 订单编号 */
    @Excel(name = "订单编号")
    private String orderNumber;

    /** 出库状态 */
    @Excel(name = "出库状态")
    private Long outboundStatus;

    /** 客户名称 */
    @Excel(name = "客户名称")
    private String userName;

    /** 操作员 */
    @Excel(name = "操作员")
    private String loginAccount;

    /** 出库时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "出库时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date outboundTime;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setOutboundId(String outboundId)
    {
        this.outboundId = outboundId;
    }

    public String getOutboundId()
    {
        return outboundId;
    }
    public void setWarehousing(String warehousing)
    {
        this.warehousing = warehousing;
    }

    public String getWarehousing()
    {
        return warehousing;
    }
    public void setOrderNumber(String orderNumber)
    {
        this.orderNumber = orderNumber;
    }

    public String getOrderNumber()
    {
        return orderNumber;
    }
    public void setOutboundStatus(Long outboundStatus)
    {
        this.outboundStatus = outboundStatus;
    }

    public Long getOutboundStatus()
    {
        return outboundStatus;
    }
    public void setUserName(String userName)
    {
        this.userName = userName;
    }

    public String getUserName()
    {
        return userName;
    }
    public void setLoginAccount(String loginAccount)
    {
        this.loginAccount = loginAccount;
    }

    public String getLoginAccount()
    {
        return loginAccount;
    }
    public void setOutboundTime(Date outboundTime)
    {
        this.outboundTime = outboundTime;
    }

    public Date getOutboundTime()
    {
        return outboundTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("outboundId", getOutboundId())
                .append("warehousing", getWarehousing())
                .append("orderNumber", getOrderNumber())
                .append("outboundStatus", getOutboundStatus())
                .append("userName", getUserName())
                .append("loginAccount", getLoginAccount())
                .append("outboundTime", getOutboundTime())
                .toString();
    }
}
